package cn.cdiothree.service;

import cn.cdiothree.DTO.OrderDTO;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 买家
 */
public interface BuyerService  {
    /**
     * 查询一个订单
     * @param userId
     * @param orderId
     * @return
     */
    OrderDTO findOrderOne(Integer userId,String orderId);

    /**
     * 取消一个订单
     * @param userId
     * @param orderId
     * @return
     */
    OrderDTO cancelOrder(Integer userId,String orderId);
}
